home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19950329-19950528 / 000012_news@columbia.edu_Fri Mar 31 14:02:39 1995.msg < prev    next >
Internet Message Format  |  1995-07-31  |  2KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA25240
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Fri, 31 Mar 1995 09:03:04 -0500
  3. Received: by apakabar.cc.columbia.edu id AA23496
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Fri, 31 Mar 1995 09:03:00 -0500
  5. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  6. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: How to disable C-Kermit CLI
  9. Date: 31 Mar 1995 14:02:39 GMT
  10. Organization: Columbia University
  11. Lines: 37
  12. Message-Id: <3lh21v$mni@apakabar.cc.columbia.edu>
  13. References: <D67t0M.A49@cunews.carleton.ca>
  14. Nntp-Posting-Host: watsun.cc.columbia.edu
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17. In article <D67t0M.A49@cunews.carleton.ca>,
  18. Rick Mallett <rmallett@boris.carleton.ca> wrote:
  19.  
  20. : I'm using kermit for file upload/download in conjunction with a Unix
  21. : restricted shell text-based menu interface that should prevent all
  22. : direct access to Unix shell commands. Files are uploaded/downloaded by
  23. : way of expect scripts where the invokation is as follows:
  24. :  ...
  25. : This seems to work OK except that I found the other day that users can
  26. : escape to the kermit prompt by typing several CTRL-C's during the upload
  27. : operation.
  28. : ...
  29. : The question is this. How do I prevent the users from reaching the
  30. : `C-Kermit>' prompt. I tried compiling with KFLAGS=-DNOICP, but got the
  31. : following:
  32. : ld: Undefined symbol 
  33. :    _gettcs 
  34. That would be a bug -- I'll fix it.
  35.  
  36. : I did a `make clean' ahead of time so I'm guessing that no-one in the
  37. : Unix world has bothered trying this option. Even if I solve this
  38. : problem, I kind of suspect that it won't work as expected since the `-C
  39. : whatever' command probably needs the command line interpreter.
  40. That's correct.
  41.  
  42. : Is there another compilation flag that will give me the result I want.
  43. Try -DNOPUSH.  This should prevent any type of shell access from the
  44. C-Kermit prompt.  Or try -DNOCTRLC.  This should make Ctrl-C (SIGINT)
  45. exit the program rather than returning to the prompt.
  46.  
  47. Read about them in ckccfg.doc.
  48.  
  49. - Frank